@extends('layouts.admin')
@section('content')
<div class="page-bar">
	<ul class="page-breadcrumb">
	    <li>
	        <a href="{{url('admin')}}">{!! trans('labels.breadcrumb.home') !!}</a>
	        <i class="fa fa-angle-right"></i>
	    </li>
	    <li>
	        <a href="{{url('admin/winc')}}">阿米巴报表添加</a>
	        <i class="fa fa-angle-right"></i>
	    </li>
	    <li>
	        <span>添加今日报表</span>
	    </li>
	</ul>
</div>
<div class="row margin-top-40">
  <div class="col-md-12">
      <!-- BEGIN SAMPLE FORM PORTLET-->
      <div class="portlet light bordered">
          <div class="portlet-title">
              <div class="caption font-green-haze">
                  <i class="icon-settings font-green-haze"></i>
                  <span class="caption-subject bold uppercase">添加今日报表</span>
              </div>
              <div class="actions">
                  <a class="btn btn-circle btn-icon-only btn-default fullscreen" href="javascript:;" data-original-title="" title=""> </a>
              </div>
          </div>
          <div class="portlet-body form">
          		@if (isset($errors) && count($errors) > 0 )
					    <div class="alert alert-danger">
					        <button class="close" data-close="alert"></button>
					        @foreach($errors->all() as $error)
					            <span class="help-block"><strong>{{ $error }}</strong></span>
					        @endforeach
					    </div>
					    @endif
              <form role="form" class="form-horizontal" method="POST" action="{{url('admin/amiba/postadd')}}">
              		{!! csrf_field() !!}
                  <div class="form-body">
                    
                    <div class="form-group form-md-line-input">
                                <label class="col-md-2 control-label" for="userid">收入类型</label>
                                <div class="col-md-8">
                                    <select id="project" name="status" class="form-control">
                                            <option value="1" data-icon="">上海亿大</option>
                                            <option value="2" data-icon="">昆明亿大</option>
                                            <option value="3" data-icon="">长治亿大</option>
                                            <option value="4" data-icon="">医生集团</option>
                                    </select>
                                    <div class="form-control-focus"> </div>
                                </div>
                     </div>
                    
                     <div class="form-group form-md-line-input">
                                <label class="col-md-2 control-label" for="userid">收入巴</label>
                                <div class="col-md-8">
                                    <select id="bar" name="bar" class="form-control">
                                            <option value="1" data-icon="">渠道巴</option>
                                            <option value="2" data-icon="">网络巴</option>
                                            <option value="3" data-icon="">电商巴</option>
                                            <option value="4" data-icon="">自媒体巴</option>
                                            <option value="5" data-icon="">企划巴</option>
                                            <option value="6" data-icon="">技术巴</option>
                                            <option value="7" data-icon="">技术巴</option>
                                            <option value="8" data-icon="">咨询巴</option>
                                            <option value="9" data-icon="">搜牙巴</option>
                                    </select>
                                    <div class="form-control-focus"> </div>
                                </div>
                     </div>
                    
                      <div class="form-group form-md-line-input">
                                <label class="col-md-2 control-label" for="userid">广告支出类型</label>
                                <div class="col-md-8">
                                    <select id="bar" name="type" class="form-control">
                                       <option value="1" data-icon="">微博</option>
                                       <option value="2" data-icon="">微信</option>
                                       <option value="3" data-icon="">QQ</option>
                                       <option value="4" data-icon="">朋友圈</option>
                                       <option value="5" data-icon="">小视频(抖音、火山、西瓜)</option>
                                       <option value="6" data-icon="">一直播</option>
                                       <option value="7" data-icon="">新浪</option>
                                       <option value="8" data-icon="">今日头条</option>
                                       <option value="9" data-icon="">一点资讯</option>
                                       <option value="10" data-icon="">知乎</option>
                                       <option value="11" data-icon="">优酷</option>
                                       <option value="12" data-icon="">网络</option>
                                       <option value="13" data-icon="">挂号网</option>
                                       <option value="14" data-icon="">优化网</option>
                                       <option value="15" data-icon="">搜狗</option>
                                       <option value="16" data-icon="">百度</option>
                                       <option value="17" data-icon="">神马</option>
                                       <option value="18" data-icon="">360推广</option>
                                       <option value="19" data-icon="">大众点评</option>
                                       <option value="20" data-icon="">美团</option>
                                       <option value="21" data-icon="">新氧</option>
                                       <option value="22" data-icon="">拼多多</option>
                                       <option value="23" data-icon="">淘宝</option>
                                       <option value="24" data-icon="">京东众筹</option>
                                       <option value="25" data-icon="">百度糯米</option>
                                    </select>
                                    <div class="form-control-focus"> </div>
                                </div>
                         </div>
                        <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="zhichu">广告支出</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="name" name="zhichu"  value="{{old('name')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')" placeholder="广告支出">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                    
                    
                      <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="name">咨询量</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="name" name="zixun"  value="{{old('name')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')" placeholder="咨询">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>

                      <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="email">总预约量</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="yuyue" placeholder="总预约量" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>

                    <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="password">种植预约</label>
                          <div class="col-md-8">
                            <input type="text" class="form-control" id="password" name="zhongzhi_yuyue" placeholder="种植预约" >
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>

                          <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="email">正畸预约</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="zhengji_yuyue" placeholder="正畸预约" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                    
                            <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="email">预约转化率</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="zhuanhua" placeholder="预约转化率" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                    
                       <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="email">总到诊量</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="daozhen" placeholder="总到诊量" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                    
                    
                    <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="email">种植到诊</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="zhongzhi_daozhen" placeholder="种植到诊" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                      <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="email">正畸到诊</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="zhengji_daozhen" placeholder="正畸到诊" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                      <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="email">到诊转化</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="daozhen_zhuanhua" placeholder="到诊转化" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                        <div class="form-group col-md-5  form-md-line-input">
                          <label class="col-md-4 control-label" for="email">预计收入</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="yuji_shouru" placeholder="预计收入" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                    
                        <div class="form-group col-md-5 form-md-line-input">
                          <label class="col-md-4 control-label" for="email">利润</label>
                          <div class="col-md-8">
                              <input type="text" class="form-control" id="email" name="lirun" placeholder="lirun" value="{{old('email')}}" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
                              <div class="form-control-focus"> </div>
                          </div>
                      </div>
                    
                    
                    
                    
                   
                    
                    
                  
                  </div>
                  <div class="form-actions">
                      <div class="row">
                          <div class="col-md-offset-2 col-md-10">
                              <a href="{{url()->previous()}}" class="btn default">{{trans('crud.cancel')}}</a>
                              <button type="submit" class="btn blue">{{trans('crud.submit')}}</button>
                          </div>
                      </div>
                  </div>
              </form>
          </div>
      </div>
  </div>
</div>
<div class="modal fade" id="draggable" role="basic" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
        </div>
    </div>
</div>
@endsection
@section('js')
<script type="text/javascript">
  $(function() {
    /*modal事件监听*/
    $(".modal").on("hidden.bs.modal", function() {
         $(".modal-content").empty();
    });
  });
</script>
@endsection